<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:gui="clr-namespace:DentalGUIHelper;assembly=DentalConfig">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="../MaterialControlStyles/MaterialDesignTheme.Button.xaml" />
        <ResourceDictionary Source="MaterialDesignTheme.LinkButton.xaml" />
    </ResourceDictionary.MergedDictionaries>

  <Style x:Key="{x:Type gui:OnlineHelpButton}" BasedOn="{StaticResource MaterialDesignFlatButton}" TargetType="{x:Type gui:OnlineHelpButton}">
    <Setter Property="Padding" Value="4"/>
    <Setter Property="Foreground" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type FrameworkElement}}, Path=(TextElement.Foreground)}"/>
  </Style>

    <Style x:Key="OnlineHelpButtonLink" BasedOn="{StaticResource LinkButton}" TargetType="{x:Type gui:OnlineHelpButton}"/>

</ResourceDictionary>
